package com.yantong.pojo;

import java.util.Date;

/**
    * 角色与商品权限对应关系
    */
public class MemberProductAuthority {
    private Long id;

    /**
    * 用户id
    */
    private Long mid;

    /**
    * 商品权限关联ID
    */
    private Long productAuthorityId;

    /**
    * 权限状态，1-有效，0-失效
    */
    private String status;

    /**
    * 可以使用的次数
    */
    private Integer count;

    /**
    * 已使用的次数
    */
    private Integer countUsed;

    /**
    * 有效开始时间
    */
    private Date startTime;

    /**
    * 有效结束时间
    */
    private Date endTime;

    /**
    * 领用时间
    */
    private Date getTime;

    /**
    * 使用时间
    */
    private Date useTime;

    /**
    * 服务中心ID
    */
    private Long centreId;

    private String authorityName;


    public String getAuthorityName() {
        return authorityName;
    }

    public void setAuthorityName(String authorityName) {
        this.authorityName = authorityName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public Long getProductAuthorityId() {
        return productAuthorityId;
    }

    public void setProductAuthorityId(Long productAuthorityId) {
        this.productAuthorityId = productAuthorityId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCountUsed() {
        return countUsed;
    }

    public void setCountUsed(Integer countUsed) {
        this.countUsed = countUsed;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }
}